
<template>
  <div class="text-component" :style="{ color: config.color }">
    {{ config.text }}
  </div>
</template>

<script setup>
import { defineProps } from 'vue'
defineProps({
  config: {
    type: Object,
    required: true
  }
})
</script>

<style>
.text-component {
  padding: 8px;
  min-width: 100px;
  min-height: 30px;
}
</style>
